#!/usr/bin/env python
# -*- coding: utf-8 -*-
from flask_mail import Mail

mail = Mail()

def init_mail(app):
    """
    初始化email实例
    :param app:
    :return:
    """
    mail.init_app(app)